/* ===================================
   NEWSTART USA - LANDING PAGE EBOOK
   PALETA: Dourado #AFA069 | Azul #122351 | Branco #FAFAFA
   Design: Seções alternadas para melhor contraste
   =================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  /* Cores principais */
  --blue-dark: #122351;
  --blue-medium: #1a3068;
  --blue-light: #2a4a8a;
  --gold: #AFA069;
  --gold-light: #c9bc8a;
  --gold-dark: #8a7d4f;
  --white: #FAFAFA;
  --white-off: #f0f0f0;
  --gray-light: #e8e8e8;
  --gray-medium: #888;
  --gray-dark: #555;
  --green: #22c55e;
  --red: #ef4444;
}

body {
  background: var(--white);
  color: var(--blue-dark);
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  line-height: 1.7;
  font-size: 16px;
}

/* ===================================
   UTILITÁRIOS
   =================================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-dark {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================
   BOTÕES
   =================================== */
.btn {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(175, 160, 105, 0.4);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(175, 160, 105, 0.5);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-dark {
  background: var(--blue-dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--blue-medium);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(18, 35, 81, 0.3);
}

.btn-lg {
  padding: 20px 50px;
  font-size: 1.2rem;
}

.btn-full {
  display: block;
  width: 100%;
  text-align: center;
}

/* ===================================
   BADGE
   =================================== */
.badge {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.badge-gold {
  background: rgba(175, 160, 105, 0.15);
  color: var(--gold);
  border: 1px solid rgba(175, 160, 105, 0.3);
}

.badge-light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===================================
   SEÇÕES BASE
   =================================== */
.section {
  padding: 100px 24px;
  position: relative;
}

/* Seção com fundo ESCURO (azul) */
.section-dark {
  background: linear-gradient(180deg, var(--blue-dark) 0%, var(--blue-medium) 100%);
  color: var(--white);
}

.section-dark .section-title {
  color: var(--white);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Seção com fundo CLARO (branco) */
.section-light {
  background: var(--white);
  color: var(--blue-dark);
}

.section-light .section-title {
  color: var(--blue-dark);
}

.section-light .section-subtitle {
  color: var(--gray-dark);
}

/* Seção com fundo OFF-WHITE */
.section-gray {
  background: var(--white-off);
  color: var(--blue-dark);
}

.section-gray .section-title {
  color: var(--blue-dark);
}

/* Títulos */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3.2rem;
  }
}

/* ===================================
   GRID
   =================================== */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===================================
   HERO SECTION (ESCURO)
   =================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-dark) 0%, #0d1a3d 50%, var(--blue-dark) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(175, 160, 105, 0.1) 0%, transparent 50%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(42, 74, 138, 0.3) 0%, transparent 60%);
  filter: blur(60px);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-title .highlight {
  display: block;
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  font-weight: 300;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-features {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.hero-feature-icon {
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
  .hero-subtitle {
    font-size: 1.6rem;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* ===================================
   CARDS - VERSÃO ESCURA (para seções claras)
   =================================== */
.card {
  padding: 32px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.card-dark {
  background: var(--blue-dark);
  color: var(--white);
  border: 1px solid rgba(175, 160, 105, 0.2);
}

.card-dark:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(18, 35, 81, 0.3);
  border-color: var(--gold);
}

.card-dark .card-title {
  color: var(--white);
}

.card-dark .card-text {
  color: rgba(255, 255, 255, 0.7);
}

/* CARDS - VERSÃO CLARA (para seções escuras) */
.card-light {
  background: var(--white);
  color: var(--blue-dark);
  border: 1px solid var(--gray-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.card-light:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--gold);
}

.card-light .card-title {
  color: var(--blue-dark);
}

.card-light .card-text {
  color: var(--gray-dark);
}

/* CARDS - VERSÃO GLASS (para seções escuras) */
.card-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.card-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold);
  transform: translateY(-5px);
}

.card-glass .card-title {
  color: var(--white);
}

.card-glass .card-text {
  color: rgba(255, 255, 255, 0.8);
}

/* Card comum */
.card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-text {
  font-size: 1rem;
  line-height: 1.6;
}

/* Card horizontal */
.card-horizontal {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}

.card-horizontal .card-icon {
  font-size: 2.5rem;
  margin-bottom: 0;
  flex-shrink: 0;
}

/* ===================================
   LISTA DE APRENDIZADO
   =================================== */
.learn-list {
  display: grid;
  gap: 16px;
}

.learn-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

/* Para seção clara */
.section-light .learn-item {
  background: var(--white-off);
}

.section-light .learn-item:hover {
  background: var(--gray-light);
}

/* Para seção escura */
.section-dark .learn-item {
  background: rgba(255, 255, 255, 0.05);
}

.section-dark .learn-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.learn-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.learn-item p {
  font-size: 1.05rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .learn-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================================
   SEÇÃO DANGER (ERROS/ALERTAS)
   =================================== */
.section-danger {
  background: linear-gradient(180deg, #fef2f2 0%, #fee2e2 50%, #fef2f2 100%);
  color: var(--blue-dark);
}

.section-danger .section-title {
  color: var(--blue-dark);
}

.section-danger .section-subtitle {
  color: var(--gray-dark);
}

.text-danger {
  color: #dc2626;
  font-weight: 800;
}

/* ===================================
   CARDS DE ERRO
   =================================== */
.card-error {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  border-left: 5px solid #dc2626;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.15);
  transition: all 0.3s ease;
}

.card-error:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(220, 38, 38, 0.2);
}

.card-error .error-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.card-error .error-icon {
  font-size: 1.5rem;
}

.card-error .error-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #991b1b;
  margin: 0;
}

.card-error p {
  margin-left: 36px;
  color: var(--gray-dark);
  font-size: 1rem;
  line-height: 1.5;
}

.highlight-message-light {
  font-size: 1.3rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 24px;
}

/* Legacy error-card support */
.error-card {
  padding: 24px;
  border-left: 4px solid var(--red);
}

.section-light .error-card {
  background: #fef2f2;
}

.section-dark .error-card {
  background: rgba(239, 68, 68, 0.1);
}

.error-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.error-icon {
  font-size: 1.5rem;
}

.error-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.error-card p {
  margin-left: 36px;
  opacity: 0.8;
}

/* ===================================
   LISTA DE RESULTADOS
   =================================== */
.results-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-radius: 16px;
}

.section-light .result-item {
  background: var(--white-off);
  border: 1px solid var(--gray-light);
}

.section-dark .result-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.check-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.result-item p {
  font-size: 1.1rem;
  font-weight: 500;
}

/* ===================================
   FAQ
   =================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: 16px;
  overflow: hidden;
}

.section-light .faq-item {
  background: var(--white);
  border: 1px solid var(--gray-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-dark .faq-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item summary {
  padding: 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1.1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 24px;
  line-height: 1.7;
  opacity: 0.85;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
  background: var(--blue-dark);
  color: var(--gold);
  position: relative;
  overflow: hidden;
}

.cta-subtitle {
    color: var(--gold);
      font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 10;
}

.cta-section .section-title {
  color: var(--gold);
}

.cta-section .section-subtitle {
  color: rgba(18, 35, 81, 0.8);
}

.contact-text {
  margin-top: 30px;
  color: rgba(18, 35, 81, 0.7);
  font-size: 0.95rem;
}

.contact-text a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  transition: all 0.3s ease;
}

.contact-text a:hover {
  color: var(--gold-dark);
  border-bottom-color: var(--gold-dark);
}

/* ===================================
   PRICING CARD
   =================================== */
.pricing-card {
  max-width: 550px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  color: var(--gold);
}

.ebook-preview {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-medium) 100%);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
  color: var(--white);
}

.ebook-icon {
  font-size: 4rem;
  margin-bottom: 15px;
}

.ebook-preview-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 5px;
}

.ebook-preview-subtitle {
  font-size: 0.95rem;
  opacity: 0.8;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--blue-dark);
}

.pricing-subtitle {
  color: var(--gray-dark);
  margin-bottom: 24px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}

.pricing-feature svg {
  color: var(--gold);
  flex-shrink: 0;
}

.pricing-price {
  text-align: center;
  margin-bottom: 30px;
  padding: 30px 20px;
  background: linear-gradient(135deg, rgba(175, 160, 105, 0.1) 0%, rgba(175, 160, 105, 0.05) 100%);
  border-radius: 16px;
  border: 2px solid rgba(175, 160, 105, 0.2);
}

.price-label {
  color: var(--gray-dark);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.price-old {
  color: var(--gray-medium);
  text-decoration: line-through;
  font-size: 1.1rem;
}

.price-current {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--blue-dark);
  margin: 8px 0;
  line-height: 1;
}

.price-current span {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-info {
  color: var(--gray-dark);
  font-size: 0.9rem;
  margin-top: 8px;
}

.cta-badge {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gold-dark);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  border: 2px solid rgba(175, 160, 105, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 20px rgba(175, 160, 105, 0.4);
  }
  50% {
    box-shadow: 0 8px 35px rgba(175, 160, 105, 0.6);
  }
  100% {
    box-shadow: 0 4px 20px rgba(175, 160, 105, 0.4);
  }
}

.security-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.security-text {
  text-align: center;
  color: var(--gray-dark);
  font-size: 0.9rem;
  margin: 0;
}

/* ===================================
   HIGHLIGHT BOX
   =================================== */
.highlight-box {
  padding: 30px;
  border-radius: 16px;
  margin-top: 40px;
  text-align: center;
}

.section-light .highlight-box {
  background: var(--blue-dark);
  color: var(--white);
}

.section-dark .highlight-box {
  background: rgba(175, 160, 105, 0.2);
  border: 1px solid rgba(175, 160, 105, 0.3);
}

.highlight-box p {
  font-size: 1.3rem;
  font-weight: 500;
}

.highlight-message {
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 24px;
}

.section-light .highlight-message {
  color: var(--gold-dark);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: var(--blue-dark);
  color: var(--white);
  padding: 40px 24px;
  text-align: center;
}

.footer p {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer p:last-child {
  margin-bottom: 0;
}

/* ===================================
   DIVIDER
   =================================== */
.divider {
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

/* ===================================
   CONTACT
   =================================== */
.contact-text {
  margin-top: 30px;
}

.contact-text a {
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: none;
}

.contact-text a:hover {
  text-decoration: underline;
}

/* ===================================
   MARGIN HELPERS
   =================================== */
.mt-40 {
  margin-top: 40px;
}

.mt-60 {
  margin-top: 60px;
}

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */
@media (max-width: 767px) {
  /* Reduzir padding geral das seções no mobile */
  .section {
    padding: 50px 0px;
  }
  
  /* Reduzir padding da seção CTA Final especificamente */
  .cta-section {
    padding: 40px 0px;
  }
  
  /* Reduzir padding do pricing card no mobile */
  .pricing-card {
    padding: 24px 20px;
    border-radius: 16px;
  }
  
  /* Ajustar preview do ebook */
  .ebook-preview {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .ebook-icon {
    font-size: 3rem;
    margin-bottom: 10px;
  }
  
  .ebook-preview-title {
    font-size: 1.1rem;
  }
  
  /* Ajustar preço */
  .pricing-price {
    padding: 20px 16px;
    margin-bottom: 20px;
  }
  
  .price-current {
    font-size: 2.8rem;
  }
  
  /* Ajustar features */
  .pricing-features {
    gap: 10px;
    margin-bottom: 20px;
  }
  
  .pricing-feature {
    font-size: 0.9rem;
  }
  
  /* Ajustar H1 hero no mobile */
  .hero-title {
    font-size: 2.2rem;
    margin-top: 30px;
  }
  
  /* Ajustar títulos no mobile */
  .cta-section .section-title {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  
  .cta-section .section-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  
  .pricing-title {
    font-size: 1.3rem;
  }
  
  .pricing-subtitle {
    font-size: 0.9rem;
  }
  
  /* Ajustar badge */
  .cta-badge {
    padding: 8px 20px;
    font-size: 0.85rem;
    margin-bottom: 16px;
  }
  
  /* Ajustar botão */
  .btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
  }
  
  /* Ajustar contact text */
  .contact-text {
    margin-top: 20px;
    font-size: 0.85rem;
  }
}
